#!/usr/bin/env python
# encoding=utf-8

from xtls.codehelper import get_ip

BAIDU_MAP_ACCESS_KEY = 'zQkmheZAjy5k7fh9QhkMo4pS'

MONGO_PORT = 27017
DB_NAME = 'crawler_office'

if get_ip().startswith('192.168'):
    MONGO_HOST = '127.0.0.1'
else:
    MONGO_HOST = '10.132.23.104'

# {
#     "_id": "59c7e8c597352c2400dc2f18d381d3f425888b7b",
#     "acreage": 100,
#     "address": "红旗河沟转盘东南角",
#     "building": "世纪英皇写字楼",
#     "grade": "甲级",
#     "image": "http://imgs.soufun.com/house/2014_05/29/cq/1401346320195_000.jpg",
#     "officeDistrict": "重庆#江北#观音桥",
#     "officeFloor": "中区",
#     "price": 6000,
#     "releaseTime": "2016-01-19 19:13:40",
#     "sourceUrl": "http://office.cq.fang.com/zu/3_158424517.html",
#     "title": "红旗河沟世纪英皇北塔5A写字楼100精装修带家具只要60了",
#     "totalFloor": "29",
#     "unitPrice": 60.0
# }
